<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<table border="1">
			<tr>
				<th>标题</th>
				<th>栏目</th>
				<th>状态</th>
				<th>发布人</th>
				<th>点击量</th>
			</tr>
			
			
		
		</table>
		
		<script type="text/javascript">
			
			let table = document.getElementsByTagName('table')[0]
			
			let a =  table.innerHTML ;
			
			table.innerHTML = ` ${a} 	<tr>
				<td>买车选低配车还是高配车</td>
				<td>汽车</td>
				<td>开放浏览</td>
				<td>小莱</td>
				<td>1111</td>
			</tr>
			<tr>
				<td>买车选低配车还是高配车</td>
				<td>汽车</td>
				<td>开放浏览</td>
				<td>小莱</td>
				<td>1111</td>
			</tr>   `
			
			
			let header = document.getElementsByTagName('tr')[0];
			header.style.backgroundColor = 'gray';
			let b1 = document.getElementsByTagName('tr')[1];
			b1.style.backgroundColor = 'greenyellow';
			let b2 = document.getElementsByTagName('tr')[2];
			b2.style.backgroundColor = 'burlywood';
		</script>
	</body>
	

</html>
